
'use strict';

angular.module('app.auth').factory('postService', ['Restangular', function(Restangular) {
      
       var _messageService = Restangular.one('login', 'user_login');
       
         return {
                   postMessages: function(newMessage) {
                 
                      return  _messageService.post('replies',newMessage);
                   }

                  
              }
            
     }]);







 
